OBJS = crypttest.obj osocklib.obj des.obj md5.obj cryptint.obj licrypto.obj

all: crypttest.exe

crypttest.exe: $(OBJS)

  link wsock32.lib opengl32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib cryptlib.lib /out:crypttest.exe $(OBJS) /NODEFAULTLIB:libcmt
licrypto.obj: licrypto.cpp licrypto.h cryptint.h exception.h

  cl /c /O2 licrypto.cpp -GX
osocklib.obj: osocklib.cpp osocklib.h exception.h

  cl /c /O2 osocklib.cpp -GX
cryptint.obj: cryptint.cpp cryptint.h

  cl /c /O2 cryptint.cpp -GX
des.o: des.cpp des.h

  cl /c /O2 des.cpp
md5.o: md5.cpp md5.h

  cl /c /O2 md5.cpp
clean:

  del crypttest.exe
  del osocklib.obj
  del md5.obj
  del des.obj
  del licrypto.obj
  del cryptint.obj
